<?php
	
	session_start();
	
	unset($_SESSION['mensaje']);
	unset($_SESSION['opcion']);
	
	$op = $_GET['op'];	
	unset($_GET['op']);
	
	switch ( $op ) {
		
				// MODULO ADMINISTRATIVO
				// =====================================================================================================
				
				// ARTICULOS
				// ===================================================================================================== 
		
		case 1: // AGREGAR ARTICULO	
				echo '<script>parent.location="../controladores/articulo_controller.php?op=1"</script>';
				break;
				
		case 2:	// MODIFICAR ARTICULO
				echo '<script>parent.location="../controladores/articulo_controller.php?op=2"</script>';
				break;
				
		case 3:	// CONSULTAR ARTICULO
				echo '<script>parent.location="../controladores/articulo_controller.php?op=3"</script>';
				break;

		case 4:	// ELIMINAR ARTICULO
				echo '<script>parent.location="../controladores/articulo_controller.php?op=4"</script>';
				break;
				
		case 5:	// BUSCAR ARTICULO
				echo '<script>parent.location="../controladores/articulo_controller.php?op=5"</script>';
				break;										
	}	
?>